<?php
declare(strict_types=1);

namespace Plugin\Alarm\Http\Request\Admin;

use Mine\MineFormRequest;

class RdAlarmWorkRequest extends MineFormRequest
{
    /**
     * 公共规则
     */
    public function rules(): array
    {
        return [];
    }

    /**
     * 字段映射名称
     * return array
     */
    public function attributes(): array
    {
        return [
            'id' => 'id',
            'title' => '工单标题',
            'content' => '工单内容',
            'status' => '工单状态',
            'stand_id' => '站点ID',
            'user_id' => '工单处理人ID',
            'type' => '工单类型',
            'expire_times' => '延期次数',
            'expire_at' => '整改限期',
            'priority' => '工单优先级',
            'related_type' => '工单关联类型',
            'related_id' => '关联ID',
            'extra' => '工单附加信息',
        ];
    }
}